package com.spark.invoicings.utils;

import org.springframework.util.DigestUtils;

import java.security.MessageDigest;

public class EncryptUtil {

    public static String Encrypt(String encrypt){
        String newEncrypt = DigestUtils.md5DigestAsHex(encrypt.getBytes());
        return newEncrypt;
    }
}
